#include <gtk/gtk.h>
#include "common.h"


int main(int argc,char *argv[])
{
    GtkWidget *window;
    GtkBuilder *builder;
    
    gtk_init(&argc,&argv);
    
    /* builder */
    builder = gtk_builder_new();
    gtk_builder_add_from_file(builder, "test.glade", NULL);
    window = GTK_WIDGET(gtk_builder_get_object(builder, "window"));
    g_return_val_if_fail(window != NULL, -1);
    gtk_builder_connect_signals(builder, NULL);

    g_object_unref(G_OBJECT(builder));

    /* make sure that everything, window and label, are visible */
    gtk_widget_show_all(window);
    
    /* start the main loop, and let it rest until the application is closed */
    gtk_main();
    
    return 0;
} 
